package com.hmy.uaa.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@TableName("t_department")
@NoArgsConstructor
@AllArgsConstructor
public class Department {
    /*** 主键 */
    private Long id;

    /*** 父级ID */
    private Long parentId;

    /*** 名称 */
    private String name;

    /*** 所属企业ID */
    private Long companyId;

    /*** 创建日期 */
    private LocalDateTime createTime;

    /*** 最后修改时间 */
    private LocalDateTime updateTime;

}